package com.tl.boot.service.demo.impl;

import com.tl.boot.entity.demo.dto.DemoInfoDTO;
import com.tl.boot.entity.demo.vo.DemoInfoVO;
import com.tl.boot.mapper.demo.DemoInfoMapper;
import com.tl.boot.service.demo.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * com.tl.boot.service.demo.impl -- DemoServiceImpl
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/10 11:56
 */
@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoInfoMapper mapper;
    @Override
    public List<DemoInfoVO> list(DemoInfoDTO demoInfoDTO) {
        return mapper.list(demoInfoDTO);
    }
}
